<div style="padding: 5px;">
	<form method="post">
    <input type="hidden" name="id" />
				<table class="tableForm">
            <tr>
				<th style="width: 80px;">硬件类型名</th>
				<td><input name="hardwaretype_name" class="easyui-validatebox" data-options="required:'true'" style="width: 200px;" />
				</td>
			</tr>
            <tr>
				<th style="width: 80px;">包含端口信息</th>
				<td><select id="hardware_isport" class="easyui-combobox" name="hardware_isport" style="width:200px;" data-options="required:true,panelHeight:'auto'">
                	{{ if int(hardware_isport) == 0:}}
                        <option value="0" selected>否</option>
                        <option value="1">是</option>
                    {{else:}}
                        <option value="0">否</option>
                        <option value="1" selected>是</option>
                    {{pass}}
                	</select>
				</td>
			</tr>
            <tr>
				<th style="width: 80px;">备注</th>
				<td colspan="3"><textarea name="comment" style="height: 50px;width: 97%;"></textarea>
				</td>
			</tr>          
		</table>
	</form>
</div>